export declare interface PermissionDTO {
  id: number
  name: string
  /**
   * 权限字符串
   */
  permissionKey: string
  status: number
  pId: number
  icon: string
  path: string
  type: string
  createdAt: string
  updatedAt: string
}

export declare interface QueryPermissionDTO {
  name?: string
  status?: number
  permissionKey?: string
  type?: string
}

export declare interface AddPermissionDTO {
  name: string
  permissionKey: string
  status: number
  pid: number
  icon: string
  path: string
  type: string
}

export declare interface UpdatePermissionDTO {
  id: number
  name: string
  permissionKey: string
  status: number
  pid: number
  icon: string
  path: string
  type: string
}

export declare interface RolePermission {
  permissionName: string
  permissionId: number
}
